<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport"
			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
		<!--[if gt IE 8]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />        
    <![endif]-->

		<title>报名系统</title>
		<%@include file="res.jsp"%> 

	</head>

	<body>

		<jsp:include page="header.jsp"></jsp:include> 
		<jsp:include page="menu.jsp"></jsp:include> 
		
		<jsp:include page="com_bbs.jsp"></jsp:include>
		
		<div class="content"> 
			<div class="row-fluid">
               <div class="widget">
                <div class="span12">  
                    <div class="head">
                        <div class="icon"><i class="icosg-bookmark1"></i></div>
                        <h2>密码修改</h2>
                    </div>                                               
                    <form action="page/member_pwd.action" method="POST" id="validate">
                   
                    <div class="block-fluid">  
                    	<c:if test="${error == 1}">
                    		<div class="row-form"> 
	                            <div class="span5">
	                            <span class="bottom" style="color:red">旧密码不正确 </span></div>
	                        </div>
                    	</c:if>
                        <div class="row-form">
                            <div class="span1">旧密码</div>
                            <div class="span10">
                                <input type="text" name="oldpwd" class="validate[required,minSize[2]]" >
                            </div>
                        </div><div class="row-form">
                            <div class="span1">新密码</div>
                            <div class="span10">
                                <input type="password" id="password" name="newpwd" class="validate[required,minSize[6],maxSize[10]]">
                            </div>
                        </div>                    
                        <div class="row-form">
                            <div class="span1">确认新密码</div>
                            <div class="span10">
                                <input type="password" class="validate[required,equals[password]]">
                            </div>
                        </div> 
                        <div class="toolbar bottom TAR">
                        	<div class="span11">
	                            <div class="btn-group">
	                                <button onclick="$('#validate').validationEngine('hide');" type="button" class="btn btn-info">隐藏</button>
	                                <button type="submit" class="btn btn-primary">修改</button>
	                            </div>
                            </div>
                        </div> 
                    </div>                
                    </form>
                </div>
            </div>
			</div>
		</div> 

	</body>

</html>
